* You may distribute this file under the terms of the Artistic
* License, as specified in the README file.
*
- * $Id: pdb.c,v 1.3 2004-01-08 03:15:00 robertl Exp $
+ * $Id: pdb.c,v 1.4 2004-01-18 01:24:41 robertl Exp $
*/
/* XXX - The way zero-length records are handled is a bit of a kludge. They
* shouldn't normally exist, with the exception of expunged records. But,
return 0; /* Success */
}
+#if 0
/* pdb_FindRecordByID
* Find the record in 'db' whose ID is 'id'. Return a pointer to it. If no
* such record exists, or in case of error, returns NULL.
/* Couldn't find it. Oh, well. Call it a success anyway. */
return 0;
}
+#endif
/* pdb_AppendRecord
* Append a new record to 'db's record list. 'newrec' is not copied, so it
return 0; /* Success */
}
+#if 0
+
/* pdb_InsertRecord
* Insert 'newrec' into 'db', just after 'prev'. If 'prev' is NULL,
* 'newrec' is inserted at the beginning of the list.
return 0; /* Success */
}
+#endif
/* new_Record
* Create a new record from the given arguments, and return a pointer to
* native format, convert them to Palm (big-endian) format, and write
* them to a ubyte string.
*
- * $Id: util.c,v 1.2 2003-07-28 22:59:01 robertl Exp $
+ * $Id: util.c,v 1.3 2004-01-18 01:24:41 robertl Exp $
*/
#include "config.h"
struct dlp_time *dlpt)
{
struct tm *tm;
- time_t t;
+time_t t;
/* Convert the Palm time to a Unix time_t */
t = palmt - EPOCH_1904;